module tests.qc.StringTest where

import Test.QuickCheck
 
o_codePointAt = once("test".codePointAt 2 == 115)
o_codePointBefore = once("test".codePointBefore 2 == 101)
o_codePointCount = once("test".codePointCount 2  3 == 1)
o_concat = once("test".concatenate ".issue250" == "test.issue250")
o_contains = once("test".contains "e" == True)
o_contains2 = once("test".contains "issue250" == False)
o_contentEquals = once("test".contentEquals "test" == True)
o_contentEquals2 = once("test".contentEquals "issue250" == False)
o_isEmpty = once("".isEmpty == True)
o_isEmpty2 = once("test".isEmpty == False)
o_lastIndexOf = once("test".lastIndexOf 't' == 3)
o_lastIndexOf2 = once("test".lastIndexOf 't' 1 == 0)
o_lastIndexOf3 = once("test".lastIndexOf "t" == 3)
o_lastIndexOf4 = once("test".lastIndexOf "t" 1 == 0)
o_lastIndexOf5 = once("test".lastIndexOf '?' == -1)
o_lastIndexOf6 = once("test".lastIndexOf 't' == 3)
--o_matches = once("test".matches ".es."== True)
--o_regionMatches = once("test".regionMatches false  0  "test" 0 4 == True)
--o_regionMatches2 = once("test".regionMatches false  0  "TEST" 0 4 == False)
--o_regionMatches3 = once("test".regionMatches true   0  "TEST" 0 4 == True)
--o_regionMatches4 = once("test".regionMatches false  0  "test" 0 3 == True)
--o_regionMatches5 = once("test".regionMatches false  0  "test" 0 2 == True)
--o_regionMatches6 = once("test".regionMatches false  0  "test" 0 1 == True)
--o_regionMatches7 = once("test".regionMatches false  1  "test" 0 4 == False)
--o_regionMatches8 = once("test".regionMatches false  1  "test" 0 1 == False)
--o_regionMatches9 = once("test".regionMatches false  1  "test" 0 2 == False)
--o_regionMatches10 = once("test".regionMatches false  1  "test" 0 1 == False)
--o_regionMatches11 = once("test".regionMatches false  1  "test" 1 4 == False)
--o_regionMatches12 = once("test".regionMatches false  1  "test" 1 3 == True)
--o_regionMatches13 = once("test".regionMatches false  1  "test" 1 2 == True)
--o_regionMatches14 = once("test".regionMatches false  1 "test" 1 1 == True)
--o_regionMatches15 = once("test".regionMatches false  2 "est"  1 4 == False)
--o_regionMatches16 = once("test".regionMatches false  2 "est"  1 3 == False)
--o_regionMatches17 = once("test".regionMatches false  2 "est"  1 2 == True)
--o_regionMatches18 = once("test".regionMatches false  2 "est"  1 1 == True)
--o_regionMatches19 = once("test".regionMatches false  3 "est"  2 4 == False)
--o_regionMatches20 = once("test".regionMatches false  3 "est"  2 3 == False)
--o_regionMatches21 = once("test".regionMatches false  3 "est"  2 2 == False)
--o_regionMatches22 = once("test".regionMatches false  3 "est"  2 1 == True)
o_replace = once("test".replace 't' 'T' == "TesT")
--o_replace2 = once("test".replace "t" "T" == "TesT")
o_trim = once("test".trim == "test")
o_trim2 = once(" test ".trim == "test")
o_trim3 = once("  test  ".trim == "test")